[INFO] cloning repository https://github.com/tomjorquera/wasmic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomjorquera/wasmic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomjorquera%2Fwasmic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomjorquera%2Fwasmic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f6ceaf0f6f0208d2c78f5f476e8764528fe5db2
[INFO] checking tomjorquera/wasmic against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomjorquera%2Fwasmic" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tomjorquera/wasmic
[INFO] finished tweaking git repo https://github.com/tomjorquera/wasmic
[INFO] tweaked toml for git repo https://github.com/tomjorquera/wasmic written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomjorquera/wasmic on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tomjorquera/wasmic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-encoder v0.38.1
[INFO] [stderr]   Downloaded wast v69.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5438275cb1f235996648d36d7e576ebc41bd7f741e82463bd0f4955e8b62bc63
[INFO] running `Command { std: "docker" "start" "-a" "5438275cb1f235996648d36d7e576ebc41bd7f741e82463bd0f4955e8b62bc63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5438275cb1f235996648d36d7e576ebc41bd7f741e82463bd0f4955e8b62bc63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5438275cb1f235996648d36d7e576ebc41bd7f741e82463bd0f4955e8b62bc63", kill_on_drop: false }`
[INFO] [stdout] 5438275cb1f235996648d36d7e576ebc41bd7f741e82463bd0f4955e8b62bc63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 066a6b1f438ff0d2b5b8bdd8f7d863e89a3bc4b894877ef27f0beebc00f9213d
[INFO] running `Command { std: "docker" "start" "-a" "066a6b1f438ff0d2b5b8bdd8f7d863e89a3bc4b894877ef27f0beebc00f9213d", kill_on_drop: false }`
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking wasm-encoder v0.38.1
[INFO] [stderr]     Checking wast v69.0.1
[INFO] [stderr]     Checking wasmic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Limits` and `validation::Validable`
[INFO] [stdout]   --> src/embedding.rs:9:25
[INFO] [stdout]    |
[INFO] [stdout] 9  |     types::{self, Addr, Limits},
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 10 |     validation::Validable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Limits` and `validation::Validable`
[INFO] [stdout]   --> src/embedding.rs:9:25
[INFO] [stdout]    |
[INFO] [stdout] 9  |     types::{self, Addr, Limits},
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 10 |     validation::Validable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hostfunc`
[INFO] [stdout]    --> src/embedding.rs:228:57
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn func_alloc(&mut self, functype: types::Function, hostfunc: HostFunc) -> Addr {
[INFO] [stdout]     |                                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostfunc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn invoke(&mut self, addr: Addr, values: Vec<runtime::Val>) -> Result<Vec<runtime::Val>, Err> {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/embedding.rs:242:38
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn invoke(&mut self, addr: Addr, values: Vec<runtime::Val>) -> Result<Vec<runtime::Val>, Err> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memtyp`
[INFO] [stdout]    --> src/embedding.rs:302:29
[INFO] [stdout]     |
[INFO] [stdout] 302 |     fn mem_alloc(&mut self, memtyp: types::Mem) -> Addr {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memtyp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:306:24
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn mem_type(&self, addr: Addr) -> types::Mem {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:310:24
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn mem_read(&self, addr: Addr, index: types::Index) -> Result<u8, Err> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/embedding.rs:310:36
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn mem_read(&self, addr: Addr, index: types::Index) -> Result<u8, Err> {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:314:29
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/embedding.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/embedding.rs:314:62
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 |     fn mem_size(&self, addr: Addr) -> types::Int {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:322:28
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/embedding.rs:322:40
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]    --> src/embedding.rs:322:55
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globtype`
[INFO] [stdout]    --> src/embedding.rs:326:32
[INFO] [stdout]     |
[INFO] [stdout] 326 |     fn global_alloc(&mut self, globtype: types::Global) -> Addr {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:330:27
[INFO] [stdout]     |
[INFO] [stdout] 330 |     fn global_type(&self, addr: Addr) -> types::Global {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:334:27
[INFO] [stdout]     |
[INFO] [stdout] 334 |     fn global_read(&self, addr: Addr) -> Result<runtime::Val, Err> {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |     fn global_write(&mut self, addr: Addr, value: runtime::Val) -> Result<(), Err> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/embedding.rs:338:44
[INFO] [stdout]     |
[INFO] [stdout] 338 |     fn global_write(&mut self, addr: Addr, value: runtime::Val) -> Result<(), Err> {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/instr.rs:546:30
[INFO] [stdout]     |
[INFO] [stdout] 546 |             Instr::GlobalGet(val) => {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/instr.rs:537:31
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn is_constant(&self, context: &Context) -> bool {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/instr.rs:559:24
[INFO] [stdout]     |
[INFO] [stdout] 559 |     fn is_valid(&self, context: &Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/instr.rs:559:43
[INFO] [stdout]     |
[INFO] [stdout] 559 |     fn is_valid(&self, context: &Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                                           ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_`
[INFO] [stdout]   --> src/modules.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn decode(bytes_: &Vec<u8>) -> Result<Self, crate::err::Err> {
[INFO] [stdout]    |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/modules.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |     fn parse(source: &str) -> Result<Self, crate::err::Err> {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/modules.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn is_valid(&self, context: &crate::validation::Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/modules.rs:110:62
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn is_valid(&self, context: &crate::validation::Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                                                              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/vm.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             entry => T::from(entry),
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 48 |             _ => panic!("not a value"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/vm.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |                         let label = Label {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `functype`
[INFO] [stdout]    --> src/vm.rs:302:59
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     FuncInstance::Host(HostFuncInstance { functype }) => {
[INFO] [stdout]     |                                                           ^^^^^^^^ help: try ignoring the field: `functype: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Store` is never used
[INFO] [stdout]   --> src/embedding.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Store {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Module` is never used
[INFO] [stdout]   --> src/embedding.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait Module: Sized {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Instanciable` is never used
[INFO] [stdout]   --> src/embedding.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub trait Instanciable<'a>: Sized {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Err` is never used
[INFO] [stdout]  --> src/err.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Err {
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Expr` is never used
[INFO] [stdout]    --> src/instr.rs:554:10
[INFO] [stdout]     |
[INFO] [stdout] 554 | pub type Expr = Vec<Instr>;
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Module` is never constructed
[INFO] [stdout]   --> src/modules.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Module {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Func` is never constructed
[INFO] [stdout]   --> src/modules.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Func {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HostFunc` is never constructed
[INFO] [stdout]   --> src/modules.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct HostFunc {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]   --> src/modules.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Table {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mem` is never constructed
[INFO] [stdout]   --> src/modules.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Global` is never constructed
[INFO] [stdout]   --> src/modules.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Global {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ElemMode` is never used
[INFO] [stdout]   --> src/modules.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum ElemMode {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Element` is never constructed
[INFO] [stdout]   --> src/modules.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Element {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DataMode` is never used
[INFO] [stdout]   --> src/modules.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum DataMode {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]   --> src/modules.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Data {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExportDesc` is never used
[INFO] [stdout]   --> src/modules.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum ExportDesc {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Export` is never constructed
[INFO] [stdout]   --> src/modules.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct Export {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ImportDesc` is never used
[INFO] [stdout]   --> src/modules.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum ImportDesc {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Import` is never constructed
[INFO] [stdout]   --> src/modules.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Import {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SupportedInteger` is never used
[INFO] [stdout]  --> src/numeric.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait SupportedInteger<
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `default_i32`, `default_i64`, `default_f32`, `default_f64`, `default_vec`, and `default_ref` are never used
[INFO] [stdout]   --> src/runtime.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Val {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 34 |     fn default_i32() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn default_i64() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn default_f32() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn default_f64() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn default_vec() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn default_ref(reftype: types::Ref) -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Res` is never used
[INFO] [stdout]   --> src/runtime.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum Res {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Store` is never constructed
[INFO] [stdout]   --> src/runtime.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Store<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/runtime.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl<'a> Store<'a> {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 70 |     pub fn new() -> Store<'a> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FuncInstance` is never used
[INFO] [stdout]    --> src/runtime.rs:109:10
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub enum FuncInstance<'a> {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InternalFuncInstance` is never constructed
[INFO] [stdout]    --> src/runtime.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct InternalFuncInstance<'a> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HostFuncInstance` is never constructed
[INFO] [stdout]    --> src/runtime.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct HostFuncInstance {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]    --> src/runtime.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct Table {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mem` is never constructed
[INFO] [stdout]    --> src/runtime.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct Mem {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Global` is never constructed
[INFO] [stdout]    --> src/runtime.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct Global {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elem` is never constructed
[INFO] [stdout]    --> src/runtime.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Elem {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]    --> src/runtime.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct Data {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Byte` is never used
[INFO] [stdout]  --> src/types.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type Byte = u8;
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Extern` is never used
[INFO] [stdout]   --> src/types.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum Extern {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Validable` is never used
[INFO] [stdout]   --> src/validation.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait Validable {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Subtypable` is never used
[INFO] [stdout]   --> src/validation.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait Subtypable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Stack` is never used
[INFO] [stdout]   --> src/vm.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait Stack<'a> {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]    --> src/vm.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct Thread<'a> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `InstrStack` is never used
[INFO] [stdout]    --> src/vm.rs:107:7
[INFO] [stdout]     |
[INFO] [stdout] 107 | trait InstrStack {
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trap` is never constructed
[INFO] [stdout]    --> src/vm.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct Trap {} // TODO
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]    --> src/vm.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn run(store: &Store, frame: &Frame, program: &Vec<Instr>) -> Result<Vec<Val>, err::Err> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newLimits` should have a snake case name
[INFO] [stdout]    --> src/embedding.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |                 let mut newLimits = table.tabletype.limits;
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `new_limits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hostfunc`
[INFO] [stdout]    --> src/embedding.rs:228:57
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn func_alloc(&mut self, functype: types::Function, hostfunc: HostFunc) -> Addr {
[INFO] [stdout]     |                                                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostfunc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn invoke(&mut self, addr: Addr, values: Vec<runtime::Val>) -> Result<Vec<runtime::Val>, Err> {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/embedding.rs:242:38
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn invoke(&mut self, addr: Addr, values: Vec<runtime::Val>) -> Result<Vec<runtime::Val>, Err> {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memtyp`
[INFO] [stdout]    --> src/embedding.rs:302:29
[INFO] [stdout]     |
[INFO] [stdout] 302 |     fn mem_alloc(&mut self, memtyp: types::Mem) -> Addr {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memtyp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:306:24
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn mem_type(&self, addr: Addr) -> types::Mem {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:310:24
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn mem_read(&self, addr: Addr, index: types::Index) -> Result<u8, Err> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/embedding.rs:310:36
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn mem_read(&self, addr: Addr, index: types::Index) -> Result<u8, Err> {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:314:29
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/embedding.rs:314:41
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/embedding.rs:314:62
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn mem_write(&mut self, addr: Addr, index: types::Index, value: u8) -> Result<(), Err> {
[INFO] [stdout]     |                                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:318:24
[INFO] [stdout]     |
[INFO] [stdout] 318 |     fn mem_size(&self, addr: Addr) -> types::Int {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:322:28
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/embedding.rs:322:40
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init`
[INFO] [stdout]    --> src/embedding.rs:322:55
[INFO] [stdout]     |
[INFO] [stdout] 322 |     fn mem_grow(&mut self, addr: Addr, n: types::Int, init: runtime::Ref) -> Result<(), Err> {
[INFO] [stdout]     |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globtype`
[INFO] [stdout]    --> src/embedding.rs:326:32
[INFO] [stdout]     |
[INFO] [stdout] 326 |     fn global_alloc(&mut self, globtype: types::Global) -> Addr {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globtype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:330:27
[INFO] [stdout]     |
[INFO] [stdout] 330 |     fn global_type(&self, addr: Addr) -> types::Global {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:334:27
[INFO] [stdout]     |
[INFO] [stdout] 334 |     fn global_read(&self, addr: Addr) -> Result<runtime::Val, Err> {
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/embedding.rs:338:32
[INFO] [stdout]     |
[INFO] [stdout] 338 |     fn global_write(&mut self, addr: Addr, value: runtime::Val) -> Result<(), Err> {
[INFO] [stdout]     |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/embedding.rs:338:44
[INFO] [stdout]     |
[INFO] [stdout] 338 |     fn global_write(&mut self, addr: Addr, value: runtime::Val) -> Result<(), Err> {
[INFO] [stdout]     |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/instr.rs:546:30
[INFO] [stdout]     |
[INFO] [stdout] 546 |             Instr::GlobalGet(val) => {
[INFO] [stdout]     |                              ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/instr.rs:537:31
[INFO] [stdout]     |
[INFO] [stdout] 537 |     pub fn is_constant(&self, context: &Context) -> bool {
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/instr.rs:559:24
[INFO] [stdout]     |
[INFO] [stdout] 559 |     fn is_valid(&self, context: &Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/instr.rs:559:43
[INFO] [stdout]     |
[INFO] [stdout] 559 |     fn is_valid(&self, context: &Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                                           ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytes_`
[INFO] [stdout]   --> src/modules.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn decode(bytes_: &Vec<u8>) -> Result<Self, crate::err::Err> {
[INFO] [stdout]    |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/modules.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |     fn parse(source: &str) -> Result<Self, crate::err::Err> {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/modules.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn is_valid(&self, context: &crate::validation::Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/modules.rs:110:62
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn is_valid(&self, context: &crate::validation::Context, k: Option<types::Int>) -> bool {
[INFO] [stdout]     |                                                              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/vm.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             entry => T::from(entry),
[INFO] [stdout]    |             ----- matches any value
[INFO] [stdout] 48 |             _ => panic!("not a value"),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/vm.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |                         let label = Label {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `functype`
[INFO] [stdout]    --> src/vm.rs:302:59
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     FuncInstance::Host(HostFuncInstance { functype }) => {
[INFO] [stdout]     |                                                           ^^^^^^^^ help: try ignoring the field: `functype: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Store` is never used
[INFO] [stdout]   --> src/embedding.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Store {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Module` is never used
[INFO] [stdout]   --> src/embedding.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait Module: Sized {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Instanciable` is never used
[INFO] [stdout]   --> src/embedding.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub trait Instanciable<'a>: Sized {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/err.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub enum Err {
[INFO] [stdout]    |          --- variants in this enum
[INFO] [stdout] 7  |     ModuleDecode,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 8  |     ModuleParse,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 9  |     ModuleInstanceExportNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     OutOfBoundTableAccess,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     UndefinedFunction(Addr),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     UndefinedGlobal(Addr),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     UndefinedMem(Addr),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 20 |     UndefinedTable(Addr),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     IntegerOverflow,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     InvalidLimit(types::Limits),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Err` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Module` is never constructed
[INFO] [stdout]   --> src/modules.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Module {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `functype` and `locals` are never read
[INFO] [stdout]   --> src/modules.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Func {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 25 |     pub functype: Index,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub locals: Vec<types::Value>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Func` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HostFunc` is never constructed
[INFO] [stdout]   --> src/modules.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct HostFunc {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]   --> src/modules.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Table {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mem` is never constructed
[INFO] [stdout]   --> src/modules.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Mem {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Global` is never constructed
[INFO] [stdout]   --> src/modules.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Global {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ElemMode` is never used
[INFO] [stdout]   --> src/modules.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum ElemMode {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Element` is never constructed
[INFO] [stdout]   --> src/modules.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Element {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DataMode` is never used
[INFO] [stdout]   --> src/modules.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub enum DataMode {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Data` is never constructed
[INFO] [stdout]   --> src/modules.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Data {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExportDesc` is never used
[INFO] [stdout]   --> src/modules.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum ExportDesc {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Export` is never constructed
[INFO] [stdout]   --> src/modules.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct Export {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ImportDesc` is never used
[INFO] [stdout]   --> src/modules.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub enum ImportDesc {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Import` is never constructed
[INFO] [stdout]   --> src/modules.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub struct Import {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `max` is never used
[INFO] [stdout]   --> src/numeric.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub trait SupportedInteger<
[INFO] [stdout]    |           ---------------- associated function in this trait
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn max() -> Self;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `default_i32`, `default_i64`, `default_f32`, `default_f64`, `default_vec`, and `default_ref` are never used
[INFO] [stdout]   --> src/runtime.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Val {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 34 |     fn default_i32() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn default_i64() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn default_f32() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn default_f64() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn default_vec() -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn default_ref(reftype: types::Ref) -> Val {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Res` is never used
[INFO] [stdout]   --> src/runtime.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum Res {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tables`, `mems`, `elems`, and `datas` are never read
[INFO] [stdout]   --> src/runtime.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Store<'a> {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub tables: Vec<RefCell<Table>>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 63 |     pub mems: Vec<RefCell<Mem>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 64 |     pub globals: Vec<RefCell<Global>>,
[INFO] [stdout] 65 |     pub elems: Vec<RefCell<Elem>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 66 |     pub datas: Vec<RefCell<Data>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Internal` and `Host` are never constructed
[INFO] [stdout]    --> src/runtime.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub enum FuncInstance<'a> {
[INFO] [stdout]     |          ------------ variants in this enum
[INFO] [stdout] 110 |     Internal(InternalFuncInstance<'a>),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 111 |     Host(HostFuncInstance),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tabletype` and `elem` are never read
[INFO] [stdout]    --> src/runtime.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct Table {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] 125 |     pub tabletype: types::Table,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 126 |     pub elem: Vec<Ref>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `memtype` and `data` are never read
[INFO] [stdout]    --> src/runtime.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct Mem {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 129 |     pub memtype: types::Mem,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 130 |     pub data: Vec<types::Byte>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `globaltype` is never read
[INFO] [stdout]    --> src/runtime.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub struct Global {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 133 |     pub globaltype: types::Global,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `elemtype` and `elem` are never read
[INFO] [stdout]    --> src/runtime.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Elem {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 137 |     pub elemtype: types::Ref,
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 138 |     pub elem: Vec<Ref>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]    --> src/runtime.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct Data {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 141 |     pub data: Vec<types::Byte>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Extern` is never used
[INFO] [stdout]   --> src/types.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum Extern {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Validable` is never used
[INFO] [stdout]   --> src/validation.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait Validable {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Subtypable` is never used
[INFO] [stdout]   --> src/validation.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub trait Subtypable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push` and `pop` are never used
[INFO] [stdout]   --> src/vm.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait Stack<'a> {
[INFO] [stdout]    |       ----- methods in this trait
[INFO] [stdout] 18 |     fn push(&mut self, entry: StackEntry<'a>);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 19 |     fn pop(&mut self) -> Option<StackEntry<'a>>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]    --> src/vm.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | struct Thread<'a> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `InstrStack` is never used
[INFO] [stdout]    --> src/vm.rs:107:7
[INFO] [stdout]     |
[INFO] [stdout] 107 | trait InstrStack {
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trap` is never constructed
[INFO] [stdout]    --> src/vm.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct Trap {} // TODO
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newLimits` should have a snake case name
[INFO] [stdout]    --> src/embedding.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |                 let mut newLimits = table.tabletype.limits;
[INFO] [stdout]     |                         ^^^^^^^^^ help: convert the identifier to snake case: `new_limits`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.65s
[INFO] running `Command { std: "docker" "inspect" "066a6b1f438ff0d2b5b8bdd8f7d863e89a3bc4b894877ef27f0beebc00f9213d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "066a6b1f438ff0d2b5b8bdd8f7d863e89a3bc4b894877ef27f0beebc00f9213d", kill_on_drop: false }`
[INFO] [stdout] 066a6b1f438ff0d2b5b8bdd8f7d863e89a3bc4b894877ef27f0beebc00f9213d
